<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019-02-13
 * Time: 22:50
 */

namespace app\admin\model;


use think\Model;

class ToolApp extends Model
{
    protected $autoWriteTimestamp = 'datetime';
    public function tool(){
        return $this->belongsTo('Tool');
    }
    public function user(){
        return $this->belongsTo('User');
    }
}